package cn.minimelon;

import cn.minimelon.bittermelon.solon.SQLManagerListener;
import org.beetl.sql.core.SQLManagerBuilder;
import org.noear.solon.SolonBuilder;
import org.noear.solon.annotation.Controller;

/**
 * 会自动扫描 cn.minimelon 下的注解，其他import
 */
@Controller
public class CushawApplication {

    public static void main(String[] args) {
        new SolonBuilder()
                .onEvent(SQLManagerBuilder.class, new SQLManagerListener())
                .start(CushawApplication.class, args);
    }
}
